<?php

Class Client
{
    
    private $IDClient;
    private $NomClient;
    private $PrenomClient;
    private $ServiceDemande;
    
    public function __Construct($id,$nom,$prenom,$demande)
    {
        $this-> IDClient = $id;
        $this-> NomClient = $nom;
        $this-> PrenomClient = $prenom;
        $this-> ServiceDemande = $demande;
    }
    
    public function __Destruct()
    {}
    
     public function __get($attribut)
	{
		switch ($attribut) {
			case'IDClient': {return $this->IDClient;break;}
			case'NomClient':{return $this->NomClient;break;}
			case'PrenomClient':{return $this->PrenomClient;break;}
			case'ServiceDemande':{return $this->ServiceDemande;break;}	
                                   }
        }
        public function setIDClient($IDClient) {
            $this->IDClient = $IDClient;
        }

        public function setNomClient($NomClient) {
            $this->NomClient = $NomClient;
        }

        public function setPrenomClient($PrenomClient) {
            $this->PrenomClient = $PrenomClient;
        }

        public function setServiceDemande($ServiceDemande) {
            $this->ServiceDemande = $ServiceDemande;
        }



}
    
    
?>
